﻿using _8Group.MES.IAppService.Location.Dtos;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using Volo.Abp.Application.Services;

namespace _8Group.MES.IAppService.Location
{
    public interface ILocationAppService: IApplicationService
    {
        Task<int> AddLocation(CreateLocationDto input);

        Task<bool> UpdateLocation(UpdateLocationDto input);

        Task<bool> DeleteLocation(int id);

        Task<string> GeLocations(string? locationName, int pageIndex = 1, int pageSize = 10);
    }
}
